package cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceFactory;

import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PICCAccidents;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PICCBruise;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PICCCarDamaged;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insurance.PICCCasualty;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.Accidents;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.Bruise;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.CarDamaged;
import cn.edu.scau.cmi.tangqingning.abstractFactoryMethod.insuranceAbstract.Casualty;

public class PICCInsuranceFactory implements AbstractFactory {
	public Bruise CreateBruise() {
		return new PICCBruise();
	}

	public Casualty CreateCasualty() {
		return new PICCCasualty();
	}

	public CarDamaged CreateCarDamaged() {
		return new PICCCarDamaged();
	}

	public Accidents CreateAccidents() {
		return new PICCAccidents();
	}
}
